<?php

/**
 * @filename BaseAction.class.php 
 * @encoding UTF-8 
 * @author yuzhiyuan <307090870@qq.com>
 * @copyright copyright 2013 (c) Emagsoftware Technology Co., Ltd. All Rights reserved.
 * @license ……
 * @datetime 2013-6-23  0:48:01
 * @version 1.0
 * @Description
  */
class BaseAction extends Action {
	public function _initialize(){
		if(C('CLOSE_SITE') == 1){
			$this->display('Common:close');
			exit;
		}
	}
}